package com.ys.cloud.nacos.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>@description: </p>
 *
 * @author yangshuang
 * @version 1.0
 * @date 2019/6/9 13:34
 */
@RestController
public class EchoController {


    @GetMapping(value = "/echo/{message}")
    public String echo(@PathVariable String message) {

        return message + " resp";
    }
}
